#include<iostream>
using namespace std;
int main()
{
	int c1[10] = { 0 }, c2[10] = { 0 };
	string s, t;
	cin >> s;
	t = s;
	for (int i = 0; i < t.length(); i++)
	{
		c1[t[i] - '0']++;
	}
	int t1 = 0, t2 = 0;
	for (int i = t.length() - 1; i >= 0; i--)
	{
		t1 = (t[i] - '0') * 2 + t2;
		t[i] = t1 % 10 + '0';
		t2 = t1 / 10;
	}
	for (int i = 0; i < t.length(); i++)
	{
		c2[t[i] - '0']++;
	}
	if (t2 != 0)
		c2[t2]++;
	for (int i = 0; i < 10; i++)
	{
		if (c1[i] != c2[i])
		{
			cout << "No" << endl;
			if (t2 != 0)
				cout << t2;
			cout << t << endl;
			return 0;
		}
	}
	cout << "Yes" << endl;
	if (t2 != 0)
		cout << t2;
	cout << t << endl;
}